<?php 
	include_once 'thuvienham.php';
	include_once 'giaovienloai_db.php';

	class giaovienloai_bs 
	{
		//------------------Fields [3]------------------
			// #0
		private $MaLoaiGiaoVien = "";
		public function SetMaLoaiGiaoVien($MaLoaiGiaoVien)   { $this->MaLoaiGiaoVien = $MaLoaiGiaoVien;   }
		public function GetMaLoaiGiaoVien()                  { return $this->MaLoaiGiaoVien;              }
			// #1
		private $TenLoaiGiaoVien = "";
		public function SetTenLoaiGiaoVien($TenLoaiGiaoVien) { $this->TenLoaiGiaoVien = $TenLoaiGiaoVien; }
		public function GetTenLoaiGiaoVien()                 { return $this->TenLoaiGiaoVien;             }
			// #2
		private $GhiChu = "";
		public function SetGhiChu($GhiChu)                   { $this->GhiChu = $GhiChu;                   }
		public function GetGhiChu()                          { return $this->GhiChu;                      }

		//------------------Method------------------
		public function Them()
		{
			$data = new giaovienloai_db();
			return $data->Them($this->MaLoaiGiaoVien, $this->TenLoaiGiaoVien, $this->GhiChu);
		}

		public function Xoa()
		{
			$data = new giaovienloai_db();
			return $data->Xoa($this->MaLoaiGiaoVien);
		}

		public function CapNhat()
		{
			$data = new giaovienloai_db();
			return $data->CapNhat($this->MaLoaiGiaoVien, $this->TenLoaiGiaoVien, $this->GhiChu);
		}

		public function LayDanhSach()
		{
			$data = new giaovienloai_db();
			return $data->LayDanhSach($this->MaLoaiGiaoVien, $this->TenLoaiGiaoVien, $this->GhiChu);
		}

	}

